﻿using Abp.Application.Services.Dto;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace ARchGL.Platform.Electrocar.Application.Dto
{
    /// <summary>
    /// 项目信息 ViewModel
    /// </summary>
    [NotMapped]
    public class ProjectsDto : EntityDto<Guid>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 代号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 车型级别
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 整车结构
        /// </summary>
        public int Structure { get; set; }
        /// <summary>
        /// 燃油类型
        /// </summary>
        public int Category { get; set; }
        /// <summary>
        /// 项目图片
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 厂家
        /// </summary>
        public Guid? CompanyId { get; set; }
        /// <summary>
        /// 厂家名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// SOP（Start of production）时间
        /// </summary>
        public DateTime SOPTime { get; set; }
        /// <summary>
        /// 整备质量（kg）
        /// </summary>
        public double Weight { get; set; }
        /// <summary>
        /// 百公里油耗（L/100km）
        /// </summary>
        public double FuelConsumptionOf100Kilometer { get; set; }
        /// <summary>
        /// 百公里加速度（单位：S）
        /// </summary>
        public double ZeroTO100AccelerationCapability { get; set; }
        /// <summary>
        /// 最高车数（单位：km/h）
        /// </summary>
        public double MaximumSpeed { get; set; }
        /// <summary>
        /// 最大爬坡度（单位：°）
        /// </summary>
        public double MaximumGradeability { get; set; }
        /// <summary>
        /// 发动机描述
        /// </summary>
        public string EngineDescription { get; set; }
        /// <summary>
        /// 变速箱描述
        /// </summary>
        public string GearboxDescription { get; set; }
        /// <summary>
        /// 部件总数
        /// </summary>
        public int PartCount { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public Guid CategoryId { get; set; }
        /// <summary>
        /// 生产年份
        /// </summary>
        public DateTime Date { get; set; }
    }
}
